package com.ztmg.water.service.bills;

import com.ztmg.water.model.bills.WaterStock;
import com.ztmg.water.vo.bills.WaterStockAllVO;
import com.ztmg.water.vo.bills.WaterStockVO;
import com.ztmg.water.dto.bills.WaterStockDTO;
import com.ztmg.water.dto.bills.WaterStockPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

public interface WaterStockService{

		JsonResult create(WaterStockDTO dto);
		JsonResult update(WaterStockDTO dto);
		JsonResult<WaterStockVO> selectById(Integer id);
		JsonResult<WaterStockVO> select(WaterStockDTO dto);
		JsonResult<PageInfo<WaterStockVO>> selectPage(WaterStockPageDTO dto);
		JsonResult<PageInfo<WaterStockAllVO>> selectWaterAllPage(WaterStockPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(WaterStockDTO dto);
}